package com.project_doctor.service;

import com.project_doctor.pojo.Dto.AnnRequest;
import com.project_doctor.pojo.SystemAnnouncement;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 龙龙与贝儿
* @description 针对表【t_system_announcement】的数据库操作Service
* @createDate 2025-06-03 10:32:05
*/
public interface SystemAnnouncementService extends IService<SystemAnnouncement> {

    SystemAnnouncement getAnnById(Long id);

    List<SystemAnnouncement> getAnnouncementList(AnnRequest annRequest);

    void updateAnnouncement(SystemAnnouncement systemAnnouncement);

    void newAnnouncement(SystemAnnouncement systemAnnouncement);

    void batchNewAnnouncement(List<SystemAnnouncement> dataList);

    List<SystemAnnouncement> listForReceiver(Long receiverId, Integer status);





}
